package com.wfm.entity;
 
import javax.persistence.Column;
import javax.persistence.Entity;  
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractBusinessEntity;

/**
 * 
 * 流程定义
 * 
 */
@Entity 
@Table(  uniqueConstraints = { 
	    @UniqueConstraint(columnNames = {"CODE","VERSION" }
	     )}
)
public class TB_WFM_DEF_WORKFLOW  extends AbstractBusinessEntity{   
	private static final long serialVersionUID = 1L;
	@Column( length=32)
	private String CODE;//流程编码  
	private int VERSION;//版本
	private String NAME;//流程名称
	@Column( length=4000)
	private String MEMO;// 备注   
	
	public String getCODE() {
		return CODE;
	}
	public void setCODE(String cODE) {
		CODE = cODE;
	}
	public int getVERSION() {
		return VERSION;
	}
	public void setVERSION(int vERSION) {
		VERSION = vERSION;
	}
	public String getNAME() {
		return NAME;
	}
	public void setNAME(String nAME) {
		NAME = nAME;
	}
	public String getMEMO() {
		return MEMO;
	}
	public void setMEMO(String mEMO) {
		MEMO = mEMO;
	} 
}
